﻿<!--//=============================================================
    // Copyright (C) 2015 福流网络
    // 作 者：钟星星
    // 日 期：2016-01-09
    // 描 述:  港建费清单自定义查询
    // 版 本：1.00
    // 修改历史纪录
    // 版 本  修改时间      修改人            修改内容
    //=============================================================-->

<div id="QueryItem">


    <div class="col2" id="query_item_apply_dt"><table class="query_table"><tr><td class="label">报关时间</td><td class="exp" style="display: none"><select> <option value=">">大于</option><option value="=">等于</option><option value="<">小于</option><option value="between">在..之间</option></select></td><td><input name="apply_dt" class="mini-datepicker" style="width:100%;" data="apply_dt_data" /></td><td><input name="apply_dt_1" class="mini-datepicker" style="width:100%;" data="apply_dt_data" /></td></tr></table></div>
    <div class="col2" id="query_item_touch_time"><table class="query_table"><tr><td class="label">对碰日期</td><td class="exp" style="display: none"><select><option value=">">大于</option><option value="=">等于</option><option value="<">小于</option><option value="between">在..之间</option></select></td><td><input name="touch_time" class="mini-datepicker" style="width:100%;" data="touch_time_data" /></td><td><input name="touch_time_1" class="mini-datepicker" style="width:100%;" data="touch_time_data" /></td></tr></table></div>
    <div class="col2" id="query_item_payment_dt"><table class="query_table"><tr><td class="label">缴费日期</td><td class="exp" style="display: none"><select><option value=">">大于</option><option value="=">等于</option><option value="<">小于</option><option value="between">在..之间</option></select></td><td><input name="payment_dt" class="mini-datepicker" style="width:100%;" data="payment_dt_data" /></td><td><input name="payment_dt_1" class="mini-datepicker" style="width:100%;" data="payment_dt_data" /></td></tr></table></div>
    <div class="col2" id="query_item_swipe_dt"><table class="query_table"><tr><td class="label">刷卡时间</td><td class="exp" style="display: none"><select><option value=">">大于</option><option value="=">等于</option><option value="<">小于</option><option value="between">在..之间</option></select></td><td><input name="swipe_dt" class="mini-datepicker" style="width:100%;" data="swipe_dt_data" /></td><td><input name="swipe_dt_1" class="mini-datepicker" style="width:100%;" data="swipe_dt_data" /></td></tr></table></div>
    <div class="col2" id="query_item_pass_dt"><table class="query_table"><tr><td class="label">放行时间</td><td class="exp" style="display: none"><select><option value=">">大于</option><option value="=">等于</option><option value="<">小于</option><option value="between">在..之间</option></select></td><td><input name="pass_dt" class="mini-datepicker" style="width:100%;" data="pass_dt_data" /></td><td><input name="pass_dt_1" class="mini-datepicker" style="width:100%;" data="pass_dt_data" /></td></tr></table></div>

    <div class="col1" id="query_item_ship_agent_name">
        <table class="query_table">
            <tr>
                <td class="label">船代</td>
                <td class="exp" style="display: none">
                    <select>
                        <option value="like">包含</option>
                        <option value="=">等于</option>
                        <option value=" not like">不包含</option>
                        <option value="<>">不等于</option>
                    </select>
                </td>
                <td>
                    <div id="txtship_agent_id" name="ship_agent_id" class="mini-autocomplete" style="width:100%" popupwidth="200" allowinput="true" textfield="short" valuefield="id" value="0"
                         showclose="true" valuefromselect="true" url="../../../Share/GetJsonList?tablename=t_base_objs&fieldnames=id,zucode,short&where=zclass_id=500&searchField=short,zucode" oncloseclick="onCloseClick">
                        <div property="columns">
                            <div header="编号" field="zucode"></div>
                            <div header="简称" field="short"></div>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>

    <div class="col1" id="query_item_wharf_name">
        <table class="query_table">
            <tr>
                <td class="label">码头</td>
                <td class="exp" style="display: none">
                    <select>
                        <option value="like">包含</option>
                        <option value="=">等于</option>
                        <option value=" not like">不包含</option>
                        <option value="<>">不等于</option>
                    </select>
                </td>
                <td>
                    <div id="autwharf_id" name="wharf_id" class="mini-combobox" style="width:100%;" popupwidth="200" multiselect="true" allowinput="true" textfield="znamec" valuefield="id" value="0"
                         valuefromselect="true" url="../../../Share/GetJsonList?tablename=t_base_objs&fieldnames=id,zucode,znamec&where=zclass_id=300&searchField=znamec,zucode" oncloseclick="onCloseClick">
                        <div property="columns">
                            <div header="编号" field="zucode"></div>
                            <div header="简称" field="znamec"></div>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    
    <div class="col1" id="query_item_deptidname">
        <table class="query_table">
            <tr>
                <td class="label">所属公司</td>
                <td class="exp" style="display: none">
                    <select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select>
                </td>
                <td>
                    <select style="width:100%; margin-left: 4px;" name="deptidname" class="mini-combobox">
                        <option value=""></option>
                        <option value="华报报关公司">华报报关公司</option>
                        <option value="华物报关公司">华物报关公司</option>
                    </select>
                </td>
            </tr>
        </table>
    </div>
    <div class="col1" id="query_item_dept_id">
        <table class="query_table">
            <tr>
                <td class="label">报关组</td>
                <td class="exp" style="display: none">
                    <select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select>
                </td>
                <td>
                    <input id="dept_id" name="dept_id" allowinput="true" 
                           class="mini-treeselect" style="width: 100%;" url="/extendpage/data/jsondata.aspx?entity=t_base_department&condition=path like'%25001-003%25' or path like'%25001-001%25'&type=1"
                           textfield="name" valuefield="id" popupwidth="300" parentfield="parent_id" />
                </td>
            </tr>
        </table>
    </div>

    <div class="col1" id="query_item_declare_type">
        <table class="query_table">
            <tr>
                <td class="label">报关类型</td>
                <td class="exp" style="display: none">
                    <select>
                        <option value="like">包含</option>
                        <option value="=">等于</option>
                        <option value=" not like">不包含</option>
                        <option value="<>">不等于</option>
                    </select>
                </td>
                <td>
                    <div id="autdeclare_id" name="declare_id" class="mini-autocomplete" style="width: 100%; float:left;" popupwidth="200" allowinput="true" pinyinfield="name" textfield="name" valuefield="value" valuefromselect="true"
                         showclose="true" url="../../../Share/GetJsonList?tablename=v_data_base_dictionary_detail&fieldnames=value,name&where=code='bg_baoguanleixing'&searchField=name,value" oncloseclick="onCloseClick">
                        <div property="columns">
                            <div header="编号" field="value"></div>
                            <div header="简称" field="name"></div>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    
    <div class="col1" id="query_item_payment_type">
        <table class="query_table">
            <tr>
                <td class="label">缴费状态</td>
                <td class="exp" style="display: none">
                    <select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select>
                </td>
                <td>
                    <select style="width:100%; margin-left: 4px;" name="payment_type" class="mini-combobox">
                        <option value=""></option>
                        <option value="未缴费">未缴费</option>
                        <option value="已缴费">已缴费</option>
                    </select>
                </td>
            </tr>
        </table>
    </div>

    <div class="col1" id="query_item_serial_no"><table class="query_table"><tr><td class="label">流水号</td><td class="exp" style="display: none"><select><option value="like">包含</option><option value="=">等于</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td><td><input name="serial_no" class="mini-textbox" style="width:100%;" data="serial_no_data" /></td></tr></table></div>
    <div class="col1" id="query_item_cabin_no"><table class="query_table"><tr><td class="label">提运单号</td><td class="exp" style="display: none"><select><option value="like">包含</option><option value="=">等于</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td><td><input name="cabin_no" class="mini-textbox" style="width:100%;" data="cabin_no_data" /></td></tr></table></div>
    <div class="col1" id="query_item_payment"><table class="query_table"><tr><td class="label">缴费人</td><td class="exp" style="display: none"><select><option value="like">包含</option><option value="=">等于</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td><td><input name="payment" class="mini-textbox" style="width:100%;" data="payment_data" /></td></tr></table></div>
   <!-- <div class="col1" id="query_item_group_name"><table class="query_table"><tr><td class="label">所属组</td><td class="exp"><select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select></td><td><input name="group_name" class="mini-textbox" style="width:100%;" data="group_name_data" /></td></tr></table></div>-->

    

    <div class="col1" id="query_item_wharf_cost">
        <table class="query_table">
            <tr>
                <td class="label">港建费</td>
                <td class="exp" style="display: none">
                    <select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select>
                </td>
                <td>
                    <select style="width:100%; margin-left: 4px;" id="wharf_cost" name="wharf_cost" class="mini-combobox">
                        <option value=""></option>
                        <option value="0">0</option>
                        <option value="64">64</option>
                        <option value="96">96</option>
                    </select>

                </td>
            </tr>
        </table>
    </div>
    <div class="col1" id="query_item_protect_cost">
        <table class="query_table">
            <tr>
                <td class="label">保安费</td>
                <td class="exp" style="display: none">
                    <select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select>
                </td>
                <td>
                    <select style="width:100%; margin-left: 4px;" id="protect_cost" name="protect_cost" class="mini-combobox">
                        <option value=""></option>
                        <option value="0">0</option>
                        <option value="10">10</option>
                        <option value="15">15</option>
                    </select>

                </td>
            </tr>
        </table>
    </div>
    <div class="col1" id="query_item_customer_id">
        <table class="query_table">
            <tr>
                <td class="label">客户</td>
                <td class="exp" style="display: none">
                    <select><option value="=">等于</option></select>
                </td>
                <td>
                    <div id="autcustomer_name" name="customer_id" class="mini-autocomplete" style="width:100%;float: left;" popupwidth="400" allowinput="true" textfield="short" valuefield="id"
                         showclose="true" valuefromselect="true" url="../../../Share/GetJsonList?tablename=t_base_objs&fieldnames=id,zucode,short&where=zclass_id=100 and stop_yn=0&searchField=short,zucode" oncloseclick="onCloseClick">
                        <div property="columns">
                            <div header="编号" field="zucode"></div>
                            <div header="简称" field="short"></div>
                        </div>
                    </div>

                </td>
            </tr>
        </table>
    </div>
    
    
    <div class="col1" id="query_item_apply_no"><table class="query_table"><tr><td class="label">报关单号</td><td class="exp" style="display: none"><select><option value="like">包含</option><option value="=">等于</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td><td><input name="apply_no" class="mini-textbox" style="width:100%;" data="apply_no_data" /></td></tr></table></div>
    <div class="col1" id="query_item_container_no"><table class="query_table"><tr><td class="label">柜号</td><td class="exp" style="display: none"><select><option value="like">包含</option><option value="=">等于</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td><td><input name="container_no" class="mini-textbox" style="width:100%;" data="container_no_data" /></td></tr></table></div>


</div>
<script>
    /**********************************
   * add by zhanyong 2015-04-23 清空客户
   **************************************/
    function onCloseClick(e) {
        var obj = e.sender;
        obj.setText("");
        obj.setValue("");
    }
</script>